package com.bootdo.hotel.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 酒店房型
 * 
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-10-18 11:10:03
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class HotelRoomType extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;
	
	
	//id
	 @NotColumn 	@HapiFeild("id")
	private Long id;
	
	//名字
		@HapiFeild("名字")
	private String name;
	
	//用户Id
		@HapiFeild("用户Id")
	private Long userId;
	
	//用户名
		@HapiFeild("用户名")
	private String userName;
	
	//代码
		@HapiFeild("代码")
	private String code;


	private Long hotelId;
	private String hotelName;

	//创建时间
		@HapiFeild("创建时间")
	private Date createTime;

	private Double money;

	@NotColumn
	private List<HotelRoomMoneyCode> moneyCodeList = new ArrayList<>();

	@NotColumn
	private Integer stock;

	private String tips;

	private Integer isShowMoney;


	private String pic;

	//面积
	private String area;
 	//窗户
	private String window;
 	//楼层
	private String floor;
 	//wifi
	private String wifi;
	// 容量
 	private String volume;

    public HotelRoomType(){
    	this.hotelId = -1l;
    	this.hotelName = "";
    	this.money = 0d;
    	this.stock =0;
    	this.tips = "";
    	this.isShowMoney = 1;
    	this.pic = "";
    	this.createTime = new Date();
    	this.area = "暂无信息";
    	this.window = "暂无信息";
    	this.floor = "暂无信息";
    	this.volume = "暂无信息";
    	this.wifi = "暂无信息";
    }


	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getWindow() {
		return window;
	}

	public void setWindow(String window) {
		this.window = window;
	}

	public String getFloor() {
		return floor;
	}

	public void setFloor(String floor) {
		this.floor = floor;
	}

	public String getWifi() {
		return wifi;
	}

	public void setWifi(String wifi) {
		this.wifi = wifi;
	}

	public String getVolume() {
		return volume;
	}

	public void setVolume(String volume) {
		this.volume = volume;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public String getTips() {
		return tips;
	}

	public void setTips(String tips) {
		this.tips = tips;
	}

	public Integer getIsShowMoney() {
		return isShowMoney;
	}

	public void setIsShowMoney(Integer isShowMoney) {
		this.isShowMoney = isShowMoney;
	}

	public Integer getStock() {
		return stock;
	}

	public void setStock(Integer stock) {
		this.stock = stock;
	}

	public List<HotelRoomMoneyCode> getMoneyCodeList() {
		return moneyCodeList;
	}

	public void setMoneyCodeList(List<HotelRoomMoneyCode> moneyCodeList) {
		this.moneyCodeList = moneyCodeList;
	}

	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Long getHotelId() {
		return hotelId;
	}

	public void setHotelId(Long hotelId) {
		this.hotelId = hotelId;
	}

	public String getHotelName() {
		return hotelName;
	}

	public void setHotelName(String hotelName) {
		this.hotelName = hotelName;
	}

	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：名字
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：名字
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：用户Id
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户Id
	 */
	public Long getUserId() {
		return userId;
	}
	/**
	 * 设置：用户名
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * 获取：用户名
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * 设置：代码
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取：代码
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}


	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
